import DataView from '../views/DataView.vue'
// 数据分析 (DataAnalysis)
import FeedbackStatistics from '@/views/DataAnalysis/FeedbackStatistics.vue'
import ProcurementStatistics from '@/views/DataAnalysis/ProcurementStatistics.vue'
import RepairStatistics from '@/views/DataAnalysis/RepairStatistics.vue'
import RepairStatus from '@/views/DataAnalysis/RepairStatus.vue'
// 设备管理 (DeviceManagement)
import DeviceInformation from '@/views/DeviceManagement/DeviceInformation.vue'
import DeviceRecording from '@/views/DeviceManagement/DeviceRecording.vue'
// 物品管理 (ItemManagement)
import PublicGoods from '@/views/ItemManagement/PublicGoods.vue'
import PurchaseRecords from '@/views/ItemManagement/PurchaseRecords.vue'
// 个人中心 (PersonalCenter)
import Admin from '@/views/PersonalCenter/Admin.vue'
import Auser from '@/views/PersonalCenter/Auser.vue'
import Buser from '@/views/PersonalCenter/Buser.vue'
// 维修信息 (RepairInformation)
import AuditTrails from '@/views/RepairInformation/AuditTrails.vue'
import ProgressUpdates from '@/views/RepairInformation/ProgressUpdates.vue'
import RepairRecords from '@/views/RepairInformation/RepairRecords.vue'
// 提交申请 (SubmitAnApplication)
import PurchaseRequisition from '@/views/SubmitAnApplication/PurchaseRequisition.vue'
import RepairApplication from '@/views/SubmitAnApplication/RepairApplication.vue'
// 用户信息 (UserInformation)
import AdminData from '@/views/UserInformation/AdminData.vue'
import AuserData from '@/views/UserInformation/AuserData.vue'
import BuserData from '@/views/UserInformation/BuserData.vue'
// 公告管理 (AnnouncementManagement)
import AnnouncementManagement from '@/views/AnnouncementManagement.vue'

import {AppstoreOutlined } from '@ant-design/icons-vue'

const routes = [
   {
    path:'/index',
    component:DataView,
    meta: {
      path: "index",
      breadcrumbName: "首页",
      icon: AppstoreOutlined,
    }
   },
   {
    path:'/FeedbackStatistics',
    component:FeedbackStatistics,
    meta:{
      path:"FeedbackStatistics",
      breadcrumbName:"反馈统计"
    }
   },
   {
    path:'/ProcurementStatistics',
    component:ProcurementStatistics,
    meta:{
      path:"ProcurementStatistics",
      breadcrumbName:"采购统计"
    }
   },
   {
    path:'/RepairStatistics',
    component:RepairStatistics,
    meta:{
      path:"RepairStatistics",
      breadcrumbName:"维修统计"
    }
   },
   {
    path:'/RepairStatus',
    component:RepairStatus,
    meta:{
      path:"RepairStatus",
      breadcrumbName:"维修状态"
    }
   },
   {
    path:'/DeviceInformation',
    component:DeviceInformation,
    meta:{
      path:"DeviceInformation",
      breadcrumbName:"设备信息"
    }
   },
   {
    path:'/DeviceRecording',
    component:DeviceRecording,
    meta:{
      path:"DeviceRecording",
      breadcrumbName:"设备记录"
    }
   },
   {
    path:'/PublicGoods',
    component:PublicGoods,
    meta:{
      path:"PublicGoods",
      breadcrumbName:"公共物品"
    }
   },
   {
    path:'/PurchaseRecords',
    component:PurchaseRecords,
    meta:{
      path:"PurchaseRecords",
      breadcrumbName:"采购记录"
    }
   },
   {
    path:'/Admin',
    component:Admin,
    meta:{
      path:"Admin",
      breadcrumbName:"管理员"
    }
   },
   {
    path:'/Auser',
    component:Auser,
    meta:{
      path:"Auser",
      breadcrumbName:"普通用户"
    }
   },
   {
    path:'/Buser',
    component:Buser,
    meta:{
      path:"Buser",
      breadcrumbName:"维修工"
    }
   },
   {
    path:'/AuditTrails',
    component:AuditTrails,
    meta:{
      path:"AuditTrails",
      breadcrumbName:"审核记录"
    }
   },
   {
    path:'/ProgressUpdates',
    component:ProgressUpdates,
    meta:{
      path:"ProgressUpdates",
      breadcrumbName:"进度更新"
    }
   },
   {
    path:'/RepairRecords',
    component:RepairRecords,
    meta:{
      path:"RepairRecords",
      breadcrumbName:"维修记录"
    }
   },
   {
    path:'/PurchaseRequisition',
    component:PurchaseRequisition,
    meta:{
      path:"PurchaseRequisition",
      breadcrumbName:"采购申请"
    }
   },
   {
    path:'/RepairApplication',
    component:RepairApplication,
    meta:{
      path:"RepairApplication",
      breadcrumbName:"报修申请"
    }
   },
   {
    path:'/AdminData',
    component:AdminData,
    meta:{
      path:"AdminData",
      breadcrumbName:"管理员信息"
    }
   },
   {
    path:'/AuserData',
    component:AuserData,
    meta:{
      path:"AuserData",
      breadcrumbName:"普通用户信息"
    }
   },
   {
    path:'/BuserData',
    component:BuserData,
    meta:{
      path:"BuserData",
      breadcrumbName:"维修工信息"
    }
   },
   {
    
    path:'/AnnouncementManagement',
    component:AnnouncementManagement,
    meta:{
      path:"AnnouncementManagement",
      breadcrumbName:"公告管理"
    }
   }
]
export default routes